package com.coderman.common.starter.excelport.imports.service;

import com.coderman.common.starter.excelport.imports.config.ImportBeanConfig;

import java.util.List;

/**
 * Description: 通用报表导入服务入口
 * date: 2020/9/15 9:09 上午
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public interface ImportService {
    /**
     * 抽象接口 导入单个sheet
     * @param importBeanConfig
     * @return
     * @throws Exception
     */
    void exeImportSheet(ImportBeanConfig importBeanConfig) throws Exception;

    /**
     * 抽象接口 导入多个sheet
     * @param importBeanConfigList
     * @return
     * @throws Exception
     */
    void exeImportMultSheet(List<ImportBeanConfig> importBeanConfigList) throws Exception;
}
